package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgBalanceExtraReward;
import com.ygqh.baby.po.YgBalanceExtraRewardExample;

public interface YgBalanceExtraRewardMapper {
	int countByExample(YgBalanceExtraRewardExample example);

	int deleteByExample(YgBalanceExtraRewardExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgBalanceExtraReward record);

	int insertSelective(YgBalanceExtraReward record);

	List<YgBalanceExtraReward> selectByExample(YgBalanceExtraRewardExample example);

	YgBalanceExtraReward selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgBalanceExtraReward record, @Param("example") YgBalanceExtraRewardExample example);

	int updateByExample(@Param("record") YgBalanceExtraReward record, @Param("example") YgBalanceExtraRewardExample example);

	int updateByPrimaryKeySelective(YgBalanceExtraReward record);

	int updateByPrimaryKey(YgBalanceExtraReward record);

	int countSuper(@Param("q") String q);

	List<YgBalanceExtraReward> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int addBatch(@Param("list") List<YgBalanceExtraReward> list);

}
